//
//  DEWGroupChatTableCell.h
//  OtherDemo
//
//  Created by lianjie on 2018/7/30.
//  Copyright © 2018年 lianjie. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    DEWGroupCellStyleDefault,
    DEWGroupCellStyleEdit,
} DEWGroupCellStyle;

///群聊cell代理
@protocol DEWGroupCellDelegate <NSObject>
@optional
///申请加入代理
- (void)didGroupCellItemBackInfo:(NSMutableDictionary *)groupInfo;

@end

@interface DEWGroupChatTableCell : UITableViewCell


@property (nonatomic ,strong) NSMutableDictionary *chatInfo;
@property (nonatomic ,weak) id <DEWGroupCellDelegate> joinDelegate;

- (void) createGroupCellWithInfo:(NSMutableDictionary *)chatInfo andStyle:(DEWGroupCellStyle)style;

@end
